package com.mk.cloud.common.domain;
import org.beetl.sql.core.annotatoin.AssignID;
import org.beetl.sql.core.annotatoin.TableTemplate;
import org.beetl.sql.core.mapper.BaseMapper;

import javax.persistence.Table;
import javax.persistence.Transient;
import java.math.*;
import java.util.Date;
import java.sql.Timestamp;

/* 
* 
* gen by beetlsql 2018-05-15
*/
@Table(name="p_audio")
@TableTemplate("order by orderby")
public class PAudio  {
	
	//主键
	@AssignID
	private String paid ;
	private String artid ;
	//名称
	private String paname ;
	//状态0草稿，1下架，2上架
	private String pastatus ;
	//简述
	private String pasubdes ;
	//音频地址
	private String paurl ;
	private String coid;
	private Integer orderby;
	@Transient
	private String arttitle;

	public PAudio() {
	}

	public String getCoid() {
		return coid;
	}

	public void setCoid(String coid) {
		this.coid = coid;
	}

	public String getArttitle() {
		return arttitle;
	}

	public void setArttitle(String arttitle) {
		this.arttitle = arttitle;
	}

	public Integer getOrderby() {
		return orderby;
	}

	public void setOrderby(Integer orderby) {
		this.orderby = orderby;
	}

	/**主键
	*@return 
	*/
	public String getPaid(){
		return  paid;
	}
	/**主键
	*@param  paid
	*/
	public void setPaid(String paid ){
		this.paid = paid;
	}
	
	public String getArtid(){
		return  artid;
	}
	public void setArtid(String artid ){
		this.artid = artid;
	}
	
	/**名称
	*@return 
	*/
	public String getPaname(){
		return  paname;
	}
	/**名称
	*@param  paname
	*/
	public void setPaname(String paname ){
		this.paname = paname;
	}
	
	/**状态0草稿，1下架，2上架
	*@return 
	*/
	public String getPastatus(){
		return  pastatus;
	}
	/**状态0草稿，1下架，2上架
	*@param  pastatus
	*/
	public void setPastatus(String pastatus ){
		this.pastatus = pastatus;
	}
	
	/**简述
	*@return 
	*/
	public String getPasubdes(){
		return  pasubdes;
	}
	/**简述
	*@param  pasubdes
	*/
	public void setPasubdes(String pasubdes ){
		this.pasubdes = pasubdes;
	}
	
	/**音频地址
	*@return 
	*/
	public String getPaurl(){
		return  paurl;
	}
	/**音频地址
	*@param  paurl
	*/
	public void setPaurl(String paurl ){
		this.paurl = paurl;
	}

	public interface Mapper extends BaseMapper<PAudio>{

	}

}
